#ifndef _INTERSECTION_H
#define _INTERSECTION_H


#include "array.h"

namespace rt
{

class Intersection : public Array
{
public:
    Intersection();
    Intersection(double d,bool v);
    void setValid(bool v);
    void setDistance(double d);
    bool getValid();
    double getDistance();

private:
    double dist;
    bool valid;


};

}

#endif
